import './assets/main.css'

import {createApp} from 'vue'
import App from './App.vue'
import ElementPlus from "element-plus";
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'dayjs/locale/zh-cn'
import {createRouter, createWebHashHistory} from "vue-router";
import {routes} from "@/components/Index.js";


const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

const app = createApp(App);
// noinspection JSCheckFunctionSignatures
app.use(ElementPlus, {locale: zhCn});
app.use(router);
app.mount('#app');
